﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="JXKH_frame.aspx.cs" Inherits="Xnjc_jxkh_frame" %>

<html>
<head runat="server">
    <title>绩效考核</title>
    <link rel="stylesheet" id="skinCss" type="text/css" href="../css/default/easyui.css" />
    <link rel="stylesheet" type="text/css" href="../css/icon.css" />
    <link href="../css/page.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="../ScriptFile/jquery.js"></script>
    <script type="text/javascript" src="../ScriptFile/jquery.easyui.min.js"></script>
    <script src="../ScriptFile/easyui-lang-zh_CN.js" type="text/javascript"></script>
    <script type="text/javascript">
        var lastTab;
        var rightUrl = "../QueryAndCollect/ins_assess.aspx";
        function tabSwitch(urlStr, tab) {
            if (lastTab != null) {
                lastTab.parentNode.className = "tab_top_text2";
            } else {
                document.getElementById("firstTab").className = "tab_top_text2";
            }
            tab.parentNode.className = "tab_top_text3";
            rightUrl = urlStr;
            lastTab = tab;

        }

        //打开内嵌网页的通用方法1（window）
        function openDivDlg(strUrl) {
            $('#ifmContent').attr("src", strUrl);
        }

        function PostInfo(appearType) {
            var strName = $("#wname").val();
            var strStartDate = $("#startDate").datebox('getValue');
            var strEndDate = $("#endDate").datebox('getValue');

            var strUrl = rightUrl+"?wname=" + encodeURI(strName) + "&timeFromOfAccept=" + strStartDate + "&timeToOfAccept=" + strEndDate + "&displayType=" + appearType;

            openDivDlg(strUrl);
        }
    </script>
</head>
<body class="easyui-layout" id="divBody">
    <div id="divNorth" region="north" split="false" style="height: 43px; margin: 0px;
        padding: 0px">
        <table class="tab_top" width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td width="17">
                    <img src="../images/tab_top_left.gif" width="17" height="35" />
                </td>
                <td valign="bottom" nowrap>
                    <div id="firstTab" class="tab_top_text3">
                        <a href="javascript:void(0)" onclick="tabSwitch('step_form.aspx',this);void(0)">岗位统计</a></div>
                    <div class="tab_top_text2">
                        <a href="javascript:void(0)" onclick="tabSwitch('staff_assess.aspx',this);">个人统计</a></div>
                    <div class="tab_top_text2">
                        <a href="javascript:void(0)" onclick="tabSwitch('department_assess.aspx',this);">
                            部门统计</a></div>
                </td>
                <td width="5" align="right">
                    <img src="../images/tab_top_right.gif" width="5" height="35" />
                </td>
            </tr>
        </table>
    </div>
    <div id="divwest" region="west" title='办件类型' split="true" style="width: 250px;">
        <table cellspacing="0" cellpadding="0" align="center" border="0" class="tab" style="width: 100%">
            <tr>
                <td colspan="2">
                    <select name="wname" id="wname" size="10" style="width: 100%; height: 150px; border: 0">
                        <%=strListWname%>
                    </select>
                </td>
            </tr>
            <tr>
                <td>
                    岗位名：
                </td>
                <td>
                    <input type="text" name="txtStepName" id="txtStepName" value="" />
                </td>
            </tr>
            <tr>
                <td>
                    工作人员：
                </td>
                <td>
                    <input type="text" name="txtGzry" id="txtGzry" value="" />
                </td>
            </tr>
            <tr>
                <td>
                    自
                </td>
                <td>
                    <input class="easyui-datebox" id="startDate" />
                </td>
            </tr>
            <tr>
                <td>
                    到
                </td>
                <td>
                    <input class="easyui-datebox" id="endDate" />
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <input id="btnSubmit" onclick="PostInfo('search')" type="button" class="NewButton"
                        value="提交" />
                    <input id="btnImage" type="button" class="NewButton" value="图表" onclick="showAsChart('charts')"
                        style="display: none;" />
                </td>
            </tr>
        </table>
    </div>
    <div region="center" title="内容区" id="divCenter">
        <iframe src="" width="100%" height="100%" frameboder="0" id="ifmContent"></iframe>
    </div>
</body>
</html>
